package com.jian.mall.common.content;

public enum PurchaseStatusEnum {
    STATUS_CREATED(0,"新建"),
    STATUS_ASSIGNED(1,"已分配"),
    STATUS_RECEIVED(2,"已领取"),
    STATUS_FINISHED(3,"已完成"),
    STATUS_ERROR(4,"有异常");
    private final Integer code;
    private final String description;
    PurchaseStatusEnum(Integer code,String description){
        this.code = code;
        this.description = description;
    }

    public Integer getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}
